home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
PROGRAM
/
ZTIMER11.ARJ
/
MOVTST.ASM
< prev
next >
Wrap
Assembly Source File
|
1991-11-12
|
413b
|
23 lines
; Sample code to measure the performance of 1000 loads of AL from
; memory. Use by renaming to TESTCODE, which is included in PZTEST.ASM.
; PZTIME.BAT does this, along with assembling and linking the code.
jmp Skip ; Jump around any defined data
MemVar db ?
Skip:
; Start timing
call ZTimerOn
rept 1000
mov al,[MemVar]
endm
; Stop timing
call ZTimerOff